﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Feifansoft.Core.Common.AppSetting
{
    /// <summary>
    /// 启动配置
    /// </summary>
    public class AppSetting
    {
        /// <summary>
        /// 跨域配置
        /// </summary>
        public string[] CorsOrigins { get; set; }

        /// <summary>
        /// jwt配置
        /// </summary>
        public JwtConfig Jwt { get; set; }
    }

    /// <summary>
    /// JWT配置
    /// </summary>
    public class JwtConfig
    {
        public string Issuer { get; set; }
        public string Audience { get; set; }
        public string SecurityKey { get; set; }
        public string ExpireMinutes { get; set; }
    }
}